﻿<%@ Page Title="Repair Lookup" Theme="POSSystem" Language="C#" MasterPageFile="~/EditPages/Popup.Master" AutoEventWireup="true" CodeBehind="RepairLookup.aspx.cs" Inherits="WebUI.EditPages.RepairLookup" %>

<%@ Register Src="~/Controls/POSControls/RepairListCtrl.ascx" TagName="RepairList" TagPrefix="uc" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PopupHeadHolder" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PopupToolbarHolder" runat="server">
    <table class="popuptoolbar" width="100%">
        <tr>
            <td style="text-align:left">
                <asp:Panel ID="panel1" runat="server" DefaultButton="btnSearchProduct" style="float:left"  >
                <asp:LinkButton class="tblabel" ID="LinkButton2" runat="server" OnClientClick="return false;" >
                    <img src="Images/trans.png" /><asp:Label ID="Label2" class="labelMessage" runat="server" Text="R" ></asp:Label>
                </asp:LinkButton> 
                <asp:TextBox ID="txtJobID" runat="server" Width="80px" ></asp:TextBox>
                <asp:LinkButton class="tbbutton" ID="btnSearchProduct" ToolTip="Click to Search By Job ID" runat="server" OnClick="btnLoadByJobID_OnClick">
                    <img src="Images/search.png" />
                </asp:LinkButton>
                </asp:Panel>
            
                <asp:Panel ID="panel2" runat="server" DefaultButton="btnSearchIMEI" style="float:left" >
                 <asp:LinkButton class="tblabel" ID="LinkButton1" runat="server" OnClientClick="return false;" >
                    <img src="Images/trans.png" /><asp:Label ID="Label1" class="labelMessage" runat="server" Text="IMEI:" ></asp:Label>
                </asp:LinkButton> 
                <asp:TextBox ID="txtIMEI" runat="server" ></asp:TextBox>
                <asp:LinkButton class="tbbutton" ID="btnSearchIMEI" ToolTip="Click to Search By IMEI" runat="server" OnClick="btnLoadByIMEI_OnClick">
                    <img src="Images/search.png" />
                </asp:LinkButton>
                <img src="../Images/tbSep.png" />
                </asp:Panel>
                
                <asp:Panel ID="panel3" runat="server" DefaultButton="btnSearchIMEI" style="float:left" >
                <asp:LinkButton class="tblabel" ID="LinkButton3" runat="server" OnClientClick="return false;" >
                        <img src="Images/trans.png" /><asp:Label ID="Label3" class="labelMessage" runat="server" Text="Brand:" ></asp:Label>
                </asp:LinkButton> 
                <asp:DropDownList ID="ddlBrand" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlBrand_OnSelectedIndexChanged" ></asp:DropDownList>

                <asp:LinkButton class="tblabel" ID="LinkButton4" runat="server" OnClientClick="return false;" >
                        <img src="Images/trans.png" /><asp:Label ID="Label4" class="labelMessage" runat="server" Text="Model:" ></asp:Label>
                </asp:LinkButton> 
                <asp:DropDownList ID="ddlModel" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlModel_OnSelectedIndexChanged" >
                    <asp:ListItem Text="--Select--" Value=""></asp:ListItem>
                </asp:DropDownList>
                </asp:Panel>
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PopupContentHolder" runat="server">
    <div style="height:555px; overflow:scroll">
    <uc:RepairList ID="lstRepair" runat="server" AllowPaging="true" AllowSelecting="true" AllowSorting="true" 
         SaveOnCommit="false" PageSize="10" Width="100%" ></uc:RepairList>
    </div>
</asp:Content>
